package com.wardrobe.mapper.slave.store;

import com.wardrobe.domain.store.StoreShowBean;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * Created by Administrator on 2018/11/16.
 */
@Component("storeSlaveMapper")
public interface StoreSlaveMapper {

    List<StoreShowBean> selectStoreBookingList(long userId);

    List<StoreShowBean> selectStoreGoodsList(long userId);

    StoreShowBean selectStoreGoods(@Param("userId") long userId, @Param("id") long id);

    StoreShowBean selectCancelStoreGoods(@Param("userId") long userId, @Param("id") long id);

    StoreShowBean selectStoreBooking(@Param("userId") long userId, @Param("id") long id);

    StoreShowBean selectCancelStoreBooking(@Param("userId") long userId, @Param("id") long id);
}
